package com.tianxiabuyi.model.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.tianxiabuyi.model.base.TXBYObject;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 通知确认表
 * 
 * @author yanghx
 * 
 */
@Entity
@Table(name = "notification_confirm")
public class NotificationConfirm extends TXBYObject {
	private Integer nid; 				// 通知id
	private Integer uid; 				// 用户id
	@Column(name = "confirm_time")
	@JSONField(name = "confirm_time")
	private Long confirmTime; 			// 确认时间
	@Column(name = "is_confirmed")
	@JSONField(name = "is_confirmed")
	private Integer isConfirmed = 0; 	// 是否确认，0是未确认，1是已确认
	private Integer type = 0; 			// 推送类型， 0是院内版app

	public Integer getNid() {
		return nid;
	}

	public void setNid(Integer nid) {
		this.nid = nid;
	}

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public Long getConfirmTime() {
		return confirmTime;
	}

	public void setConfirmTime(Long confirmTime) {
		this.confirmTime = confirmTime;
	}

	public Integer getIsConfirmed() {
		return isConfirmed;
	}

	public void setIsConfirmed(Integer isConfirmed) {
		this.isConfirmed = isConfirmed;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

}
